#pragma once
#include <iostream>

#include "FileSplitter.hpp"

// 文件分割类
class ISplitterFactory {
public:
    virtual ~ISplitterFactory() {
        
    }

    virtual ISplitter* createSplitter() = 0;
};

class BinarySplitterFactory : public ISplitterFactory{
public:
    virtual ~BinarySplitterFactory() {
        
    }

    virtual ISplitter* createSplitter() {
        return new BinarySplitter;
    }
};
    
